package com.itheima.job;

import com.alibaba.dubbo.config.annotation.Reference;
import com.itheima.service.CheckGroupService;
import com.itheima.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by zhangyuhong
 * Date:2020/4/18
 */

public class ClearOrdersetting {
    @Reference
    private OrderService orderService;

    public void deleteOrderSetting(){
        System.out.println(" deleted Last month ordersetting data start.....");
        orderService.deletedPreOrderSeytting();
        System.out.println(" deleted Last month ordersetting data end.....");
    }
}
